package com.android.mios.model;


public class State {
	
	public static final int DISCONNECTED = -2;  // User has to wait, the engine is not connected
	public static final int NONE = -1;  // no icon
	public static final int WAITING_TO_START = 0;  // blue/busy icon
	public static final int IN_PROGRESS = 1;  // blue/busy icon
	public static final int ERROR = 2;  // red/error icon
	public static final int ABORTED = 3;  // red/error icon
	public static final int DONE = 4;  // green/success icon
	public static final int WAITING_FOR_CALLBACK = 5;  // blue/busy icon
	public static final int REQUEUE = 6; // blue/busy icon

//	public static int getStateIcon(int state) {
//		int icon = 0;
//		switch (state) {
//		case WAITING_TO_START:
//		case IN_PROGRESS:
//		case WAITING_FOR_CALLBACK:
//		case REQUEUE:
//			icon = R.drawable.blue;
//			break;
//		case ERROR:
//		case ABORTED:
//			icon = R.drawable.red;
//			break;
//		case DONE:
//			icon = R.drawable.green;
//			break;
//		}
//		return icon;
//	}
}
